|
|
|
|
|
|
|
Figure 1.7 illustrates this specification. The specification is housed in the Property Builder dialog box. Double-clicking in the tab container area also opens this dialog box. |
|
|
|
|
|
|
|
|
Figure 1.7.
The Property Builder dialog box
enables you to view and modify
information about each property. |
|
|
|
|
|
|
|
|
Using the Property Builder, you can specify a name and data type for the property, as well as declare its scope (Public Property, Friend, Public Variable). You can also specify that one of the properties is the default property of the class. This way, when you use the class variable in code, like any other variable, the value of the default property is set or returned. |
|
|
|
|
|
|
|
|
The Methods tab is similar to the Properties tab. The Methods tab displays the methods of the currently selected class or collection. You access it the same way you access the Property Builder. Using the Method Builder (see Figure 1.8), you can perform the same maintenance operations as with the Property Builder. The key differences are as follows: |
|
|
|
|
|
|
|
|
Figure 1.8.
The Method Builder dialog box
enables you to view and modify
information about each method. |
|
|
|
|
|